package edu.sctu.xialei.june.day20150610one.util;

import edu.sctu.xialei.june.day20150610one.modle.Parcel;
import edu.sctu.xialei.june.day20150610one.modle.Passenger;
import edu.sctu.xialei.june.day20150610one.modle.SubwayCard;
import edu.sctu.xialei.june.day20150610one.modle.Water;

/**
 * Created by Administrator on 6/10/2015.
 */

//乘客信息设置
public class SettingPassengerData {

    public Passenger setPassenger (){
        Passenger passenger = new Passenger();

        passenger.name = "夏磊";
        passenger.sex = "男";

        passenger.parcel = new Parcel();
        passenger.parcel.content = "面包";

        passenger.water = new Water();
        passenger.water.content = "汽油";

        passenger.subwayCard = new SubwayCard();
        passenger.subwayCard.balance = 15;

        passenger.startTrainStop = "茶店子";
        passenger.endTrainStop = "书房";

        return passenger;
    }
}
